.jd_layout {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    background-color: white;
}
 
/* 顶部搜索块 */
.jd_search {
    width: 100%;
    height: 40px; 
    max-width: 640px;    
    /* 固定布局 */
    position: fixed;
    background-color: rgba(255, 0, 0, 0);
    z-index: 9999;
}
.jd_logo {
    width: 68px;
    height: 33px;
    display: block;
    position: absolute;
    top: 6px;
    background: url(../img/jd_logo.png) no-repeat;
    background-size: 67.5px auto;
}
.jd_login {
    height: 38px;
    line-height: 40px;
    width: 40px; 
    position: absolute;
    top: 0;
    right: 0;  
    color: white;
    text-align: center;
    margin-top: 2px;
}
.jd_searchBox {
    width: 100%;
    height: 100%;
    padding-left: 68px;
    padding-right: 40px;
}
.jd_searchBox  input {
    width: 100%;
    margin-top: 10px;
    height: 25px;
    border-radius: 12.5px;
    padding-left: 10px;
    opacity: .9;
}
.jd_searchBox::before {
    content: "";
    position: absolute;
    /* 可以加一个logo(放大镜) */
}

/* 搜索框的大小 */
.position_top {
    top:40px;
}

/* 轮播图 */
.jd_banner {
    width: 100%;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.jd_banner > .jd_bannerImg {
    width: 700%;
    height: 100%;
    transition: null;
    position: relative;
}
.jd_bannerImg > li {
    width: 14.2%;
    height: 100%;
    float: left;
    position: relative;
}
.jd_bannerImg > li > a{
    height: 100%;
}
.jd_bannerImg > li > a > img:nth-of-type(1) {
    width: 100%;
    height: 100%;
}
.jd_bannerImg > li > a > img:nth-of-type(2) {
    height: 80%;
    position: absolute;
    right: 20px;
    top: 20px;
}
/* 点标记 */
.jd_bannerIndicator {
    width: 52px;
    height: 10px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    z-index: 888;
    transform: translateX(-50%);
}
.jd_bannerIndicator > li {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: 1px solid #fff;
    float: left;
    margin-right: 6px;
}
.jd_bannerIndicator > li.active {
    background-color: white;
}

/* 导航条 */
.jd_nav {
    width: 100%;
    height: 150px;
    background-color: rgba(255, 255, 255,1);
    position: relative;
}
.jd_nav > ul > li { 
    float: left;
    width: 25%;
    height: 70px;
    /* margin-top: 15px; */
}
.jd_nav > ul > li > a {
    width: 60px;
    height: 50px;
    display: block;
    margin: 0 auto;
}  
.jd_nav > ul > li p{
    margin-left: -5px;
}
.jd_nav > ul > li:nth-of-type(1) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_1.png) no-repeat;
    background-size: auto 80%;
}
.jd_nav > ul > li:nth-of-type(2) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_2.png) no-repeat;
    background-size: auto 85%;
}
.jd_nav > ul > li:nth-of-type(3) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_3.png) no-repeat;
    background-size: auto 85%;
}
.jd_nav > ul > li:nth-of-type(4) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_4.png) no-repeat;
    background-size: auto 85%;
}
.jd_nav > ul > li:nth-of-type(5) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_5.png) no-repeat;
    background-size: auto 85%;
}
.jd_nav > ul > li:nth-of-type(6) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_6.png) no-repeat;
    background-size: auto 85%;
}
.jd_nav > ul > li:nth-of-type(7) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_7.png) no-repeat;
    background-size: auto 85%;
}
.jd_nav > ul > li:nth-of-type(8) div {
    height: 100%;
    width: 100%;
    background: url(../img/nav_8.png) no-repeat;
    background-size: auto 85%;
}

/* 产品区域 */
.jd_product {
    width: 100%;
    box-shadow: 1px 1px 1px #ccc;
}
.jd_productBox {
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
    position: relative;
}
.jd_pTip {
    width: 100%;
    height: 25px;
    line-height: 20px;
    color: #ccc;
    border-bottom: 2px solid #ccc;
    margin-bottom: 5px;
    padding-left: 12px;
}
.jd_pTip::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 3px;
    height: 16px;
    background-color: rgba(255, 0, 0, .7);
}
.jd_pContent a {
    width: 50%;
    display: block;
    margin-bottom: -1px;
}
.jd_pContent  img {
    /* a标签有基线 所以img加block */
    width: 100%;
    display: block;
}
/* 秒杀快 */
/* 秒杀标题 */
.jd_sk .jd_pTip .jd_left .jd_sk_icon {
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-right: 5px;
    background: url("../img/clock.png") no-repeat;
    background-size: 100% auto;
}
.jd_sk .jd_pTip::before{
    content: "";
    display: none;
}
.jd_sk .jd_pTip .jd_left .jd_sk_text {
    color: rgba(255, 0, 0, .7);
   margin-right: 10px;
    height: 100%;
    /* line-height: 100%; */
}
.jd_sk .jd_pTip .jd_left .jd_sk_time span {
    display: inline-block;
    text-align: center;
    /* float: left; */
    width: 10px;
    height: 100%;
    line-height: 100%;
    background-color: black;
}
.jd_sk .jd_pTip .jd_left .jd_sk_time span:nth-of-type(3n){
    background-color: white;
    color: black;
}
/* 秒杀内容 */
.jd_sk .jd_pContent li {
    width: 30%;
    float: left;
    margin: 10px 0;
    margin-left: 10px;
}
.jd_sk .jd_pContent a{
    width: 100%;
}
.jd_sk .jd_pContent img {
    width: 100%;
    display: block;
}
.jd_sk .jd_pContent p {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    line-height: 14px;
}





